package com.dxf.bigdata.D05_spark_again.工程化代码.controller

import com.dxf.bigdata.D05_spark_again.工程化代码.common.TController
import com.dxf.bigdata.D05_spark_again.工程化代码.service.WordCountService

class WordCountController extends TController{

  private val service = new WordCountService


  def dispatch(): Unit ={
    val result: Array[(String, Int)] = service.dataAnalysis()

    result.foreach(println)
  }

}
